package com.tobehonor.satokensample.mybatiscommon.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_menu")
public class SysMenu implements Serializable {
    
    
    private static final long serialVersionUID = -2950540948518531496L;
    
    @TableId(value = "menu_id", type = IdType.ASSIGN_ID)
    private Long menuId;
    
    private Long parentId;
    
    private String menuName;
    
    private String menuCode;
    
    private Integer menuType;
    
    private String path;
    
    private String component;
    
    private String icon;
    
    private Integer sort;
    
    private Integer visible;
    
    private Integer status;
    
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}